feat: add disable-model-invocation to workflow commands#138
Conversation
Prevent SlashCommand tool from programmatically invoking complex 8-phase workflow commands that require significant user interaction and decision-making at multiple phases. Commands updated: - create-plugin.md - create-marketplace.md Fixes #135 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @sjnims's task in 1m 1s —— View job Review CompleteI've reviewed PR #138 and the changes look excellent. Here's my assessment: Summary✅ Approved - This PR correctly implements What's Good
Code ReviewThe diff shows clean additions: plugins/plugin-dev/commands/create-plugin.md:5 +disable-model-invocation: trueplugins/plugin-dev/commands/create-marketplace.md:5 +disable-model-invocation: trueBoth additions are correctly formatted YAML and placed appropriately in the frontmatter section. Checklist VerificationBased on the PR description and my review:
Final AssessmentThis PR is ready to merge. The implementation correctly prevents Claude from accidentally invoking these complex guided workflows via the SlashCommand tool, while preserving the ability for users to explicitly run them. The change is well-scoped, properly implemented, and fully addresses the stated problem. |
Summary
Add
disable-model-invocation: trueto the workflow commands to prevent the SlashCommand tool from programmatically invoking these complex 8-phase workflows.Problem
Fixes #135
The
/plugin-dev:create-pluginand/plugin-dev:create-marketplacecommands are complex 8-phase guided workflows designed for intentional user initiation. Withoutdisable-model-invocation: true, Claude could accidentally invoke these commands via the SlashCommand tool during conversation.Solution
Added
disable-model-invocation: trueto both command frontmatters, ensuring these workflows can only be initiated by explicit user invocation.Alternatives Considered
Changes
plugins/plugin-dev/commands/create-plugin.md: Addeddisable-model-invocation: trueplugins/plugin-dev/commands/create-marketplace.md: Addeddisable-model-invocation: trueTesting
🤖 Generated with Claude Code